package org.br.erp.project.expenseinfo.entity;

import java.io.Serializable;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;
import org.jeecgframework.poi.excel.annotation.Excel;
import java.util.Date;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import javax.persistence.Entity;
import javax.persistence.Id;
import java.io.UnsupportedEncodingException;

/**
 * @Description: 项目费用明细
 * @Author: jeecg-boot
 * @Date:   2024-05-10
 * @Version: V1.0
 */
@ApiModel(value="projectexpenseinfoitem对象", description="项目费用明细")
@Data
@TableName("projectexpenseinfoitem")
@Entity
public class Projectexpenseinfoitem implements Serializable {
    private static final long serialVersionUID = 1L;

	/**主键*/
	@TableId(type = IdType.ASSIGN_ID)
    @ApiModelProperty(value = "主键")
    @Id
    private String id;
	/**创建人*/
    @ApiModelProperty(value = "创建人")
    private String createBy;
	/**创建日期*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "创建日期")
    private Date createTime;
	/**更新人*/
    @ApiModelProperty(value = "更新人")
    private String updateBy;
	/**更新日期*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "更新日期")
    private Date updateTime;
	/**所属部门*/
    @ApiModelProperty(value = "所属部门")
    private String sysOrgCode;
	/**费用类型*/
	@Excel(name = "费用类型", width = 15)
    @ApiModelProperty(value = "费用类型")
    private String expensetype;
	/**费用含税金额*/
	@Excel(name = "费用含税金额", width = 15)
    @ApiModelProperty(value = "费用含税金额")
    private java.math.BigDecimal taxinvalue;
	/**费用不含税金额*/
	@Excel(name = "费用不含税金额", width = 15)
    @ApiModelProperty(value = "费用不含税金额")
    private java.math.BigDecimal taxexvalue;
	/**税额*/
	@Excel(name = "税额", width = 15)
    @ApiModelProperty(value = "税额")
    private java.math.BigDecimal tax;
	/**备注*/
	@Excel(name = "备注", width = 15)
    @ApiModelProperty(value = "备注")
    private String remarks;
	/**附件*/
	@Excel(name = "附件", width = 15)
    @ApiModelProperty(value = "附件")
    private String attachid;
	/**parentid*/
    @ApiModelProperty(value = "parentid")
    private String parentid;
}
